function __autoload($class_name) {if($class_name=='treeView' || $class_name=='treeViewFolder') require_once(INCLUDE_DIR.'treeViewClass.php');}
}
// Exception extended class
class SecurityException extends Exception {
public function __toString() {echo "<pre>Exception: '".$this->getMessage()."' in ".$this->getFile().":".$this->getLine()."\nStack trace:\n".$this->getTraceAsString().'</pre>';return'';}
// Extensions configuration: if resource config use it's own sessions, put $_SESSION into $_ENV['weezoSession'] so cfRGetVar can work, and close weezo session